class BaseResponse<T> {

  BaseResponse({this.status, this.data, this.msg});

  T? data;
  final String? status;
  final String? msg;

  static fromMap(Map<String, dynamic> map) {
    return BaseResponse(status: map["status"], msg: map["msg"], data: map["data"]);

  }
}